FluentCommunity\App\Models\User D

Total Complexity 133
Dependencies 17
Dependents 40
Total lines 708
Lines of code 506
Logical lines of code 232
Comment lines 9
Methods 49
Properties 6

Methods 49

Method Rating Maintainability Complexity Lines of code
getSpacePermissions()
B
37 17 79
getSpaceRole()
A
51 9 28
getPhotoAttribute()
A
49 8 30
syncXProfile()
S
47 6 35
updateCustomData()
S
51 6 27
getRolePermissions()
S
51 5 27
getGeneralData()
S
51 4 26
canEditFeed()
S
66 5 7
canDeleteFeed()
S
66 5 7
getDisplayName()
S
62 4 11
getSpaceIds()
S
63 4 11
scopeMentionBy()
S
59 3 15
scopeSearchBy()
S
62 3 12
getContact()
S
62 3 12
updateCustomMeta()
S
58 2 17
getCustomMeta()
S
64 3 10
getPermissions()
S
66 3 9
verifySpacePermission()
S
69 3 6
hasPermissionOrInCurrentSpace()
S
70 3 6
cacheAccessSpaces()
S
59 2 14
getCommunityRoles()
S
70 2 6
isSpaceModerator()
S
79 2 3
hasCommunityPermission()
S
69 2 7
hasSpacePermission()
S
69 2 7
verifyCommunityPermission()
S
70 2 6
can()
S
71 2 6
getIsVerifiedAttribute()
S
81 1 3
xprofile()
S
79 1 3
usermeta()
S
79 1 3
messages()
S
77 1 3
spaces()
S
74 1 4
courses()
S
74 1 4
notificationSubscriptions()
S
79 1 3
space_pivot()
S
79 1 3
notification_records()
S
79 1 3
crm_contact()
S
79 1 3
community_role()
S
75 1 4
isNotMemberOfAnySpace()
S
80 1 3
isCommunityAdmin()
S
79 1 3
isCommunityModerator()
S
78 1 3
hasCommunityModeratorAccess()
S
75 1 4
hasCommunityAdminAccess()
S
75 1 4
hasCourseCreatorAccess()
S
75 1 4
hasSpaceManageAccess()
S
73 1 4
getUnreadNotificationCount()
S
74 1 5
getUnreadNotificationFeedIds()
S
68 1 7
isVerified()
S
78 1 3
getUserMeta()
S
78 1 3
getWpUser()
S
79 1 3